.error {
  color: #ff4868;
}

.form {
  padding-top: 26px;

  textarea {
    width: 25em;
  }

  footer {
    text-align: right;
    button {
      margin-left: 12px;
    }
  }
}

.media-fields {
  margin-bottom: 0;

  :global(.ant-form-item-control) {
    padding-top: 6px;
  }

  :global(.ant-radio-group) {
    margin-bottom: 18px;
  }

  :global(.qun-upload-multiple-image-images) {
    column-gap: 6px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 12px;
    row-gap: 6px;
    width: 300px;
  }
  :global(.qun-upload-multiple-image-images) :global(.qun-upload-multiple-image-image) {
    // 额外加前缀保证样式优先级
    background-color: #fafafa;
    border-radius: 0;
    border: 1px solid #f0f0f0;
    height: 80px;
    margin: 0;
    width: 80px;
  }
  :global(.qun-upload-multiple-image-trigger) {
    margin: 0;
    width: 80px;
    label {
      height: 80px;
    }
  }

  .media-link-card > div {
    align-items: flex-start;
    display: flex;
    margin-left: -5em;
    &:not(:last-child) {
      margin-bottom: 18px;
    }
    & > label {
      padding-top: 4px;
      flex-shrink: 0;
      text-align: right;
      width: 5em;
    }
    input {
      width: 30em;
    }
  }
}

.media-error {
  color: #ff4d4f;
}
